ISlave.CoeReadSdoEntryDescription 方法

透過 CoE (CANopen over EtherCAT) 從 SDO 物件讀取物件字典中的項目描述。

命名空間IntervalZero.KINGSTAR.Base.Class

組合: IntervalZero.KINGSTAR.Base.Class (於 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0

語法

C#VB
IKsCommand<SdoEntryDescription> CoeReadSdoEntryDescription(
       int obIndex,
       int obSubIndex
)
Function CoeReadSdoEntryDescription(
       obIndex As Integer,
       obSubIndex As Integer
) As IKsCommand(Of SdoEntryDescription)

參數

obIndex

型別:int

物件的 CANopen 索引,請參閱您的裝置說明書以取得該值。

 

obSubIndex

型別:int

物件的 CANopen 子索引,請參閱您的裝置說明書以取得該值。

回傳值

型別:IKsCommand<SdoEntryDescription>

回傳方法的狀態及一個 SdoEntryDescription 值。

可用的 EtherCAT 狀態

ecatPreOP, ecatSafeOP, ecatOP

參見

ISlave 介面

IntervalZero.KINGSTAR.Base.Class 命名空間